<!DOCTYPE html>
<HTML>
<HEAD><meta name="viewport" content="width=device-width, initial-scale=1">
<Title>DiscreteHeatMapLayer.setColorAxis</Title>
<link type='text/css' rel='Stylesheet' href="maxchartapi.css" />
</HEAD>
<body bgcolor="#FFFFFF" text="#000000" topmargin="0" leftmargin="0" rightmargin="0" marginwidth="0" marginheight="0">

<p class="heading0">ChartDirector 7.0 (Java Edition)</p>
<p class="heading1"><a href="DiscreteHeatMapLayer.htm">DiscreteHeatMapLayer</a>.<wbr>setColorAxis</p>
<hr class="separator">
<p class="heading2a">Usage</p>
<div class="content">
public ColorAxis setColorAxis(int x, int y, int alignment, int length, int orientation)
</div>
<p class="heading2">Description</p>
<div class="content">
Sets the position, length and orientation of the color axis (color legend).
</div>
<p class="heading2">Arguments</p>
<div class="content">
<div style="width:100%;box-sizing:border-box;">
<table border="1" cellpadding="5" cellspacing="0" width="100%"> 
<tr>
<th width="19%">Argument</th><th width="19%">Default</th><th>Description</th>
</tr>
<tr>
<td>x</td><td>(Mandatory)</td><td>The x-coordinate of the reference point used to position the color axis.</td></tr><tr><td>y</td><td>(Mandatory)</td><td>The y-coordinate of the reference point used to position the color axis.</td></tr><tr><td>alignment</td><td>(Mandatory)</td><td>The alignment of the color axis with respect to the reference point. For example, a value of <a href="Chart.TopLeft.htm">TopLeft</a> means the reference point is the top- left corner of the color axis. See <a href="alignment.htm">Alignment Specification</a> for supported alignment types..</td></tr><tr><td>length</td><td>(Mandatory)</td><td>The length of the color axis in pixels.</td></tr><tr><td>orientation</td><td>(Mandatory)</td><td>The orientation of the color axis. A value of <a href="Chart.Top.htm">Top</a>/<a href="Chart.Bottom.htm">Bottom</a> means the axis is horizontal, and the axis labels are at top/bottom side of the axis. A value of <a href="Chart.Left.htm">Left</a>/<a href="Chart.Right.htm">Right</a> means the axis is vertical, and the axis labels are at the left/right side of the axis.</td>
</tr>
</table>
</div>
</div>
<p class="heading2">Return Value</p>
<div class="content">
None
</div>
<br><hr class="separator">
<div class="copyright">&copy; 2022 Advanced Software Engineering Limited. All rights reserved.</div>
</body>
</HTML>
